﻿#pragma once
#ifndef ImageInterface_hpp
#define ImageInterface_hpp

#include"../../TesMath/TesVector3.h"

namespace MMF { namespace Mesh {

class ImageInterface
{

public:

    //虚析构
    virtual ~ImageInterface() {}

    //获取某个坐标的能量值
    virtual float GetValue(int x, int y) = 0;

    //获取某个坐标的颜色值
    virtual TesVector3 GetColor(int x, int y) = 0;

    //尺寸(像素)
    virtual int Width() = 0;
    virtual int Height() = 0;
};

}}

#endif